//
//  MainInterface.h
//  DaJiang
//
//  Created by sally on 16/10/12.
//  Copyright © 2016年 jiniu. All rights reserved.
//

#import "InterfaceBase.h"

@interface MainInterface : InterfaceBase

//获取banner列表
- (void)queryBannerListWithCompletion:(completion_t)completion
                                error:(error_t)error;

//获取地址列表
- (void)queryLocationListWithCompletion:(completion_t)completion
                                  error:(error_t)error;

//获取一级分类列表
- (void)queryLevel1ListWithCompletion:(completion_t)completion
                                error:(error_t)error;

//获取二级分类列表
- (void)queryLevel2ListWithLevel1Id:(NSInteger)level1Id
                         completion:(completion_t)completion
                              error:(error_t)error;

//私人定制and悬赏请专家
- (void)privateRequestWithCompanyName:(NSString *)companyName
                             userName:(NSString *)userName
                                phone:(NSString *)phone
                              problem:(NSString *)problem
                          rewardValue:(NSString *)rewardValue
                                 time:(NSString *)time
                             location:(NSString *)location
                         locationDesc:(NSString *)locationDesc
                           completion:(completion_t)completion
                                error:(error_t)error;

@end
